<extend name="base" />
<block name="style2">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Module/CSS/baseInfo.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/public/CSS/page.css">
</block>
<block name="js2">
</block>
<block name="meau">
    <div class="col-sm-3 col-md-2 sidebar">
        <ul class="nav nav-sidebar">
	        <if condition="$form eq 'usermanage'">
	            <li><a href='<{:U("Home/Module/moduleInfo")}>'>模块信息</a></li>
            <else />
                <li class="active"><a href='<{:U("Home/Module/baseInfo")}>'>基础信息</a></li>
                <li><a href='<{:U("Home/Module/logData")}>'>录入数据</a></li>
                <li><a href='<{:U("Home/Module/verdata")}>'>核对数据</a></li>
	        </if>
        </ul>
    </div>
</block>
<block name="content">
	<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <h2 class="sub-header">本次送审站点<{$basetype}>信息
            <div class="btn-group" role="group">
                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    选择送审专业
                <span class="caret"></span>
                </button>
                <ul class="dropdown-menu">
                    <li><a href='<{:U("Home/Module/baseInfo?basetype=土建专业")}>'>土建专业</a></li>
                    <li><a href='<{:U("Home/Module/baseInfo?basetype=铁塔专业")}>'>铁塔专业</a></li>
                    <li><a href='<{:U("Home/Module/baseInfo?basetype=交流专业")}>'>交流专业</a></li>
                    <li><a href='<{:U("Home/Module/baseInfo?basetype=配套专业")}>'>配套专业</a></li>
                </ul>
            </div>
        </h2>
        <div class="table table-responsive ">
            <table class="table table-striped table-bordered table-condensed">
                <thead>
                    <tr>
			            <th>序号</th>
			            <th>项目批次</th>
			            <th>内验结束时间</th>
			            <th>所属区县</th>
			            <th>立项站名</th>
			            <th>项目编码</th>
			            <th>建设方式</th>
			            <th>分类</th>
                        <th>备注</th>
                        <th>是否完工</th>
			            <th>施工单位</th>
			            <th>工作量</th>
			            <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                <foreach name="baseData" item="v">
                    <tr>
                        <td ><{$v.id}></td>
                        <td ><{$v.batch}></td>
                        <td ><{$v.inner_check_time}></td>
                        <td ><{$v.zone}></td>
                        <td ><{$v.site_name}></td>
                        <td ><{$v.project_code}></td>
                        <td ><{$v.construction_type}></td>
                        <td ><{$v.category}></td>
                        <td><{$v.description}></td>
                        <if condition="$v.finish eq 1">
                        <td>是</td>
                        <else />
                        <td>否</td>
                        </if>
                        <td><{$v.uid|unit}></td>
                        <td><{$v.workload}></td>
                        <td>
                            <div class="btn-group btn-group-xs" role="group" aria-label="...">
                                <form action='<{:U("Home/Module/DataEntry",array("project_code"=>$v["project_code"],"type"=>$basetype))}>' method="post">
                                    <input type="hidden" name="batch" value='<{$v.batch}>'>
                                <if condition="$v.disable eq 'true'">
                                    <button type="submit" class="btn btn-default" disabled>申报</button>
                                <else />
                                    <button type="submit" class="btn btn-default">申报</button>
                                </if>
                                </form>
                            </div>
                        </td>
                    </tr>
                </foreach>
                <if condition="$count gt $listRows">
                <tr><td colspan="13"><{$show}></td></tr>
                </if>
                </tbody>
            </table>
        </div>
    </div>
</block>